export default function myExample() {
    return {
        name: 'my-example',
        buildStart(){
            console.log('buildStart');
        },
        resolveId(source) {
            if (source === 'virtual-module') {
                return source
            }
            return null
        },
        load(id) {
            if (id === 'virtual-module') {
                return 'export default "This is virtual"'
            }
            return null;
        }
    };
}